Aelia\WC\EU_VAT_Assistant\Validation\VAT_Number_Validator S

Total Complexity 39
Dependencies 1
Dependents 1
Total lines 415
Lines of code 154
Logical lines of code 68
Comment lines 197
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
prepare_request_arguments()
A
39 13 69
validate_vat_number()
S
49 6 31
parse_vat_number()
S
61 4 12
valid_cached_response()
S
71 3 5
get_cached_validation_result()
S
70 2 6
get_supported_countries()
S
100 1 0
factory()
S
81 1 3
__construct()
S
91 1 2
get_errors()
S
82 1 3
get_vat_country_prefixes()
S
78 1 3
get_vat_prefix()
S
75 1 4
get_vat_number_validation_cache_key()
S
68 1 8
cache_validation_result()
S
74 1 4
get_countries_vat_number_min_lengths()
S
100 1 0
get_minimum_vat_number_length()
S
74 1 4
perform_vat_number_validation()
S
100 1 0